home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / lib / DMakefile next >
Makefile  |  1997-09-09  |  4KB  |  210 lines

  1. #
  2. #  DMakefile
  3. #
  4. #  this file contains all library combinations allowed
  5.  
  6. DLIB= dlib:
  7.  
  8. start:
  9.     type lib.help
  10.  
  11. all:    startup autos.lib c uc m rom
  12.  
  13. c:        cs.lib cl.lib csp.lib csr.lib cpl.lib crl.lib csrp.lib crpl.lib
  14.  
  15. uc:        ucs.lib ucsr.lib
  16.  
  17. m:        ms.lib ml.lib msp.lib msr.lib mpl.lib mrl.lib msrp.lib mrpl.lib
  18.  
  19. rom:        roms.lib romsr.lib roml.lib romrl.lib
  20.  
  21. amiga13:    amiga13l.lib amiga13s.lib amiga13sp.lib amiga13pl.lib
  22.  
  23. amiga20:    amiga20l.lib amiga20s.lib amiga20sp.lib amiga20sr.lib amiga20pl.lib \
  24.         amiga20rl.lib amiga20srp.lib amiga20rpl.lib
  25.  
  26. startup:
  27.     lbmake startup
  28.  
  29. autos.lib:
  30.     lbmake auto s
  31.  
  32. autol.lib:
  33.     lbmake auto l
  34.  
  35. cs.lib:
  36.     lbmake clib s
  37.  
  38. cl.lib:
  39.     lbmake clib l
  40.  
  41. csp.lib:
  42.     lbmake clib s p
  43.  
  44. csr.lib:
  45.     lbmake clib s r
  46.  
  47. cpl.lib:
  48.     lbmake clib p l
  49.  
  50. crl.lib:
  51.     lbmake clib r l
  52.  
  53. csrp.lib:
  54.     lbmake clib s r p
  55.  
  56. crpl.lib:
  57.     lbmake clib r p l
  58.  
  59. #   UNIX compatible C library (automatically converts UNIX style paths to
  60. #     amiga style)
  61.  
  62. ucs.lib:
  63.     lbmake uclib s
  64.  
  65. ucsr.lib:
  66.     lbmake uclib s r
  67.  
  68.  
  69. #   M[model].LIB
  70. #
  71.  
  72. ms.lib:
  73.     lbmake mlib s
  74.  
  75. ml.lib:
  76.     lbmake mlib l
  77.  
  78. msp.lib:
  79.     lbmake mlib s p
  80.  
  81. msr.lib:
  82.     lbmake mlib s r
  83.  
  84. mpl.lib:
  85.     lbmake mlib p l
  86.  
  87. mrl.lib:
  88.     lbmake mlib r l
  89.  
  90. msrp.lib:
  91.     lbmake mlib s r p
  92.  
  93. mrpl.lib:
  94.     lbmake mlib r p l
  95.  
  96.  
  97. #   ROM[model].LIB
  98. #
  99.  
  100. roms.lib:
  101.     lbmake rom s
  102.  
  103. romsr.lib:
  104.     lbmake rom s r
  105.  
  106. roml.lib:
  107.     lbmake rom l
  108.  
  109. romrl.lib:
  110.     lbmake rom r l
  111.  
  112. #   AMIGA13[model].lib:
  113.  
  114. amiga13l.lib:    $(DLIB)amiga13l.lib
  115.  
  116. $(DLIB)amiga13l.lib : $(DLIB)/dlib.orig/amiga13l.lib
  117.     copy %(right) %(left)
  118.  
  119. amiga13s.lib:    $(DLIB)amiga13s.lib
  120.  
  121. $(DLIB)amiga13s.lib : $(DLIB)amiga13l.lib
  122.     libtos $(DLIB)amiga13l.lib $(DLIB)amiga13s.lib
  123.  
  124. amiga13sp.lib:
  125.     lbmake amiga13 s p
  126.  
  127. amiga13pl.lib:
  128.     lbmake amiga13 p l
  129.  
  130.  
  131. #   AMIGA20[model].lib
  132. #
  133. #   The amiga20l.lib from commodore has some incorrect tags, this stuff
  134. #   here fixes that.  dlib.orig/amiga20l.lib contains the actual, original
  135. #   Commodore library.    The amiga20l.lib provided with DICE is exactly
  136. #   that plus bug fixes to the Commodore library.
  137.  
  138. amiga20l.lib:    $(DLIB)amiga20l.lib
  139.  
  140. $(DLIB)amiga20l.lib : $(DLIB)/dlib.orig/amiga20l.lib amiga20_func_l.lib
  141.     join $(DLIB)amiga20_func_l.lib $(DLIB)/dlib.orig/amiga20l.lib AS %(left)
  142.  
  143. amiga20s.lib:    $(DLIB)amiga20s.lib
  144.  
  145. $(DLIB)amiga20s.lib : $(DLIB)amiga20l.lib
  146.     libtos $(DLIB)amiga20l.lib $(DLIB)amiga20s.lib
  147.  
  148. amiga20sp.lib:
  149.     lbmake amiga20 s p
  150.  
  151. amiga20sr.lib:
  152.     lbmake amiga20 s r
  153.  
  154. amiga20pl.lib:
  155.     lbmake amiga20 p l
  156.  
  157. amiga20rl.lib:
  158.     lbmake amiga20 r l
  159.  
  160. amiga20srp.lib:
  161.     lbmake amiga20 s r p
  162.  
  163. amiga20rpl.lib:
  164.     lbmake amiga20 r p l
  165.  
  166. amiga20_func_l.lib:
  167.     lbmake a20func l
  168.  
  169. FD20FILES= asl battclock battmem cia commodities console diskfont \
  170.      dos exec expansion gadtools graphics icon iffparse \
  171.     input misc intuition keymap layers mathffp mathieeedoubbas \
  172.     mathieeedoubtrans mathieeesingbas mathieeesingtrans mathtrans \
  173.     potgo ramdrive timer translator utility wb disk rexxsyslib
  174.  
  175. FD30FILES= asl battclock battmem cia commodities console diskfont \
  176.      dos exec expansion gadtools graphics icon iffparse \
  177.     input misc intuition keymap layers mathffp mathieeedoubbas \
  178.     mathieeedoubtrans mathieeesingbas mathieeesingtrans mathtrans \
  179.     potgo ramdrive timer utility wb disk rexxsyslib
  180.  
  181. INLINE20FD=    $(FD20FILES:"*":"dinclude:amiga20/fd/*_lib.fd")
  182. INLINE30FD=    $(FD30FILES:"*":"dinclude:amiga30/fd/*_lib.fd")
  183. INLINE20PROTOS= $(FD20FILES:"*":"dinclude:xclib/*_protos.h")
  184. INLINE30PRAGMAS= $(FD30FILES:"*":"dinclude:pragmas/*_pragmas.h")
  185.  
  186. inline20:  $(INLINE20PROTOS)
  187.  
  188. $(INLINE20PROTOS) : $(INLINE20FD)
  189.     cd dinclude:
  190.     fdtopragma %(right) -o %(left)
  191.     cd
  192.  
  193. pragma30:  $(INLINE30PRAGMAS)
  194.  
  195. $(INLINE30PRAGMAS) : $(INLINE30FD)
  196.     cd dinclude:
  197.     fdtopragma %(right) -o %(left)
  198.     cd
  199.  
  200. #    fdtopragma %(right) %(right:"*/fd/*_lib.fd":"amiga20/clib/%2_protos.h") -o %(left)
  201. #    cd
  202.  
  203. clean:
  204.     -delete $(DLIB)#?.lib
  205.     -delete $(DLIB)#?.o
  206.  
  207. cleaninline:
  208.     -delete $(INLINE20PROTOS)
  209.  
  210.